package tds.model8.version1;
/**
 * @Company 杭州先锋电子技术股份有限公司
 * @ClassName Bootstrap
 * @Description TODO（这里用一句话描述这个类的作用)
 * @author tds
 * @Date 2019/2/20 11:30
 * @version 1.0.0
 */
public class Bootstrap {
    public static void main(String[] args) {
        SchoolGirl mm = new SchoolGirl("娇娇");
        Pursuiter gg = new Pursuiter(mm);

        System.out.println("小明对娇娇说：" );
        gg.giveChocolate();
        gg.giveFlower();
        gg.giveDoll();

        System.out.println("\n小明哥们小王对娇娇说：");
        Proxy proxy = new Proxy(gg);
        proxy.giveChocolate();
        proxy.giveDoll();
        proxy.giveFlower();
    }
}
